<table border="1" cellspacing="0" class="table table-hover table-bordered table-condensed">
    <thead>
      <tr>
        <th class="bg-primary text-center">地区</th>
        <th class="bg-primary text-center">大区</th>
        <th class="bg-primary text-center">小区</th>
        <th class="bg-primary text-center">城市</th>
        <th class="bg-primary text-center">编码</th>
        <th class="bg-primary text-center">专营店</th>
        <th class="bg-primary text-center">项目编号</th>
        <th class="bg-primary text-center">站点编号</th>
        <th class="bg-primary text-center">活动主题</th>
        <th class="bg-primary text-center">活动类型</th>
        <th class="bg-primary text-center">活动额度</th>
        <th class="bg-primary text-center">预算总费用</th>
        <th class="bg-primary text-center">站点状态</th>
        <th class="bg-primary text-center">结算申请总费用</th>
        <th class="bg-primary text-center">结算凭证</th>
        <th class="bg-primary text-center">结算审核结果</th>
        <th class="bg-primary text-center">结算审核金额</th>
        <th class="bg-primary text-center">KPI系数</th>
        <th class="bg-primary text-center">结算金额</th>
      </tr>
    </thead>
    <tbody>
    <?php foreach($list as $k => $v): ?>
      <tr>
        <td class="text-center"><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['area'] : ''?></td>
        <td class="text-center"><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['region'] : ''?></td>
        <td class="text-center"><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['spsarea'] : ''?></td>
        <td class="text-center"><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['city'] : ''?></td>
        <td class="text-center"><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['coding'] : ''?></td>
        <td class="text-center"><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['storeName'] : ''?></td>
        <td class="text-center"><?php echo $v['activityId']; ?></td>
        <td class="text-center">&nbsp;<?php echo $v['orderId']; ?>&nbsp;</td>
        <td class="text-center"><?php echo $v['activityName'] ?></td>
        <td class="text-center"><?php echo $v['activityType'] ?></td>
        <td class="text-center"><?php echo $v['activityCost'] ?></td>
        <td class="text-center"><?php echo $v['budgetApply'] ?></td>
        <td class="text-center"><?php echo $v['orderStatus'] ?></td>
        <td class="text-center"><?php echo $v['settleApply'] ?></td>
        <td class="text-center">
          <a target="_blank" href="http://btl.dongfeng-nissan.com.cn/fg/user/user.do?actionType=vieworderactivity&orderId=<?=$v['orderId']?>">点击查看</a>
        </td>
        <td class="text-center"><?php echo $v['settleAuditStr'] ?></td>
        <td class="text-center"><?php echo $v['settleAudit'] ?></td>
        <td class="text-center"><?php echo $v['kpi'] ?></td>
        <td class="text-center"><?php echo $v['settleMoney'] ?></td>
      </tr>
    <?php endforeach; ?>
    </tbody>
  </table>